package cn.edu.nwpu.warehousemanagement.service;

import cn.edu.nwpu.warehousemanagement.pojo.Result;
import cn.edu.nwpu.warehousemanagement.pojo.request.AdminUpdateUserInfoRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

/**
 * Admin服务接口
 *
 * @author Loadstar
 * @version 1.0
 */
@Service
public interface AdminService {
    Result<?> deleteUser(Long userId);

    Result<?> updateUserInfo(AdminUpdateUserInfoRequest updateUserInfoRequest);


    Result<?> findAllUser(Pageable pageable);
}
